package com.ouc.openplatform.ouc.authManage.service;
import io.terminus.pampas.client.Export;

import java.util.List;

import com.ouc.openplatform.ouc.authManage.dto.NJ_DepartmentStructureTreeGridDto;
import com.ouc.openplatform.ouc.authManage.model.NJ_DepartmentStructure;
public interface NJ_ClientDepartmentStructureService {
	// 1.保存部门信息-----sxl
	@Export(paramNames = { "NJ_DepartmentStructure" })
	public int saveDepartmentStructure(NJ_DepartmentStructure NJ_DepartmentStructure);
	// 2.根据部门id删除部门信息---------sxl
	@Export(paramNames = { "id" })
	public int deleteDepartmentStructure(String id);
	// 3.修改部门信息-----sxl
	@Export(paramNames = { "NJ_DepartmentStructure" })
	public int updateDepartmentStructure(NJ_DepartmentStructure NJ_DepartmentStructure);
	// 4.根据父级id查询所有的部门信息------sxl
	@Export(paramNames = { "id" })
	public List<NJ_DepartmentStructureTreeGridDto> getDepInfosBypid(int id) throws Exception;
	//5.获取所有部门信息-----sxl
	@Export(paramNames = {"departmentStructure"})
	public List<NJ_DepartmentStructure> getAllDepartmentStructure(NJ_DepartmentStructure NJ_DepartmentStructure);
	//6.获取所有部门信息
	@Export(paramNames = {})
	public List<NJ_DepartmentStructureTreeGridDto> getAllDepartmentStructureTree();


}
